/*
* Promise是异步编程的一种解决方案
* */

//例子:
let promise = new Promise(function (resolve,reject) {
    console.log('Promise');
    resolve("哈哈")
})
promise.then(function (a) {
    console.log(a)
})
console.log("hi")


